Yoast\WP\Duplicate_Post\Permissions_Helper S

Total Complexity 42
Dependencies 2
Dependents 22
Total lines 271
Lines of code 106
Logical lines of code 56
Comment lines 124
Methods 17
Properties 0

Methods 17

Method Rating Maintainability Complexity Lines of code
has_original_changed()
S
60 5 13
has_trashed_rewrite_and_republish_copy()
S
62 4 11
is_classic_editor()
S
64 4 10
is_new_post_screen()
S
68 3 7
post_type_has_admin_bar()
S
68 3 7
should_rewrite_and_republish_be_allowed()
S
72 3 5
should_links_be_displayed()
S
73 3 4
get_enabled_post_types()
S
63 3 10
is_edit_post_screen()
S
67 3 7
has_scheduled_rewrite_and_republish_copy()
S
68 3 7
get_rewrite_and_republish_copy()
S
69 2 7
is_post_type_enabled()
S
78 1 3
has_rewrite_and_republish_copy()
S
79 1 3
get_rewrite_and_republish_copy_id()
S
78 1 3
is_rewrite_and_republish_copy()
S
77 1 3
is_current_user_allowed_to_copy()
S
80 1 3
is_copy_allowed_to_be_republished()
S
78 1 3